import re


def main():
    userName = input('请输入用户名：')
    qq = input('请输入QQ号：')
    m1 = re.match(r'^[0-9A-Za-z_]{6,20}$', userName)